package com.go.where.manager.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.CustomerDao;
import com.go.where.manager.pojo.CustomerInfo;

@Repository("customerDao")
public class CustomerDaoImpl extends BaseDaoImpl<CustomerInfo> implements
		CustomerDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.CustomerMapper";
	}

	@Override
	public List<String> queryCustomerIds(CustomerInfo customerInfo) {
		return getSqlSession().selectList(getNameSpace() + ".queryCustomerIds",
				customerInfo);
	}

}
